package com.mojang.sonar;

/**
 * @author Administrator
 */
public class FixedSoundSource implements SoundSource
{
	private double x;
	private double y;

	public FixedSoundSource(double x, double y)
	{
		this.x = x;
		this.y = y;
	}

	public FixedSoundSource(SoundSource soundSource)
	{
		this.x = soundSource.getX(1);
		this.y = soundSource.getY(1);
	}

    public double getX(double alpha)
    {
        return x;
    }

    public double getY(double alpha)
    {
        return y;
    }
}